var o = getApp();

Page({
    data: {},
    onLoad: function(o) {
        this.getdata();
    },
    toList: function(o) {
        console.log(o);
        var n = o.currentTarget.dataset.id;
        wx.navigateTo({
            url: "/packageE/video_question/videoRecordList/videoRecordList?id=" + n
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    getdata: function() {
        var n = this, t = o.getNetAddresss("plugin.agent-qa.api.answer_record.index");
        o._postNetWork({
            url: t,
            success: function(o) {
                var t = o.data;
                1 == t.result ? (console.log(t), n.setData({
                    info: t.data
                })) : wx.showToast({
                    title: t.msg,
                    icon: "none"
                });
            },
            fail: function(o) {
                wx.showToast({
                    title: o.msg,
                    icon: "none"
                });
            }
        });
    }
});